RemoteHardwarePinOrBuilder

interface RemoteHardwarePinOrBuilder : MessageOrBuilder

Inheritors

Functions

Link copied to clipboard
abstract fun getGpioPin(): Int

GPIO Pin number (must match Arduino)
uint32 gpio_pin = 1;
Link copied to clipboard
abstract fun getName(): String

Name for the GPIO pin (i.e. Front gate, mailbox, etc)
string name = 2;
Link copied to clipboard
abstract fun getNameBytes(): ByteString

Name for the GPIO pin (i.e. Front gate, mailbox, etc)
string name = 2;
Link copied to clipboard

Type of GPIO access available to consumers on the mesh
.meshtastic.RemoteHardwarePinType type = 3;
Link copied to clipboard
abstract fun getTypeValue(): Int

Type of GPIO access available to consumers on the mesh
.meshtastic.RemoteHardwarePinType type = 3;